package com.yunpeng.aidevice.common.dto.query;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * UserQueryDTO 用户查询对象
 *
 * @author : Moore(hemw)
 * @date : 2020-04-27
 */
public class UserQueryDTO implements Serializable {

    /**
     * 组织部门代码
     */
    private String orgCode;

    /**
     * 用户编号（精确匹配）
     */
    private String userNumber;

    /**
     * 用户名称（左匹配）
     */
    private String userName;

    /**
     * 电话号码（精确匹配）
     */
    private String phone;

    /**
     * 邮箱（精确匹配）
     */
    private String email;

    /**
     * 性别
     */
    private Integer sex;

    /**
     * 有效时间起始
     */
    private LocalDateTime invalidDateStart;

    /**
     * 有效时间结束
     */
    private LocalDateTime invalidDateEnd;

    /**
     * 状态
     */
    private String state;

    /**
     * 商户代码
     */
    private String merchantCode;

    /**
     * 租户代码
     */
    private String tenantCode;

    /**
     * 页面展示数量
     */
    private Integer pageSize;

    /**
     * 当前页码
     */
    private Integer currentPage;

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getUserNumber() {
        return userNumber;
    }

    public void setUserNumber(String userNumber) {
        this.userNumber = userNumber;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public LocalDateTime getInvalidDateStart() {
        return invalidDateStart;
    }

    public void setInvalidDateStart(LocalDateTime invalidDateStart) {
        this.invalidDateStart = invalidDateStart;
    }

    public LocalDateTime getInvalidDateEnd() {
        return invalidDateEnd;
    }

    public void setInvalidDateEnd(LocalDateTime invalidDateEnd) {
        this.invalidDateEnd = invalidDateEnd;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getMerchantCode() {
        return merchantCode;
    }

    public void setMerchantCode(String merchantCode) {
        this.merchantCode = merchantCode;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    @Override
    public String toString() {
        return "UserQueryDTO{" +
                "orgCode='" + orgCode + '\'' +
                ", userNumber='" + userNumber + '\'' +
                ", userName='" + userName + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", sex=" + sex +
                ", invalidDateStart=" + invalidDateStart +
                ", invalidDateEnd=" + invalidDateEnd +
                ", state='" + state + '\'' +
                ", merchantCode='" + merchantCode + '\'' +
                ", tenantCode='" + tenantCode + '\'' +
                ", pageSize=" + pageSize +
                ", currentPage=" + currentPage +
                '}';
    }
}
